package cn.jack.lib_base.base.view

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import cn.jack.lib_base.interfac.IHandler
import cn.jack.lib_base.interfac.IStatusSwitchLisenter
import com.alibaba.android.arouter.launcher.ARouter

/**
 * @创建者 Jack
 * @创建时间 2024-09-20 23:46
 * @描述
 */
abstract class BaseComposeActivity : AppCompatActivity(), IStatusSwitchLisenter, IHandler {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        if (injectARouter()) {
            ARouter.getInstance().inject(this)
        }

    }
}